home *** CD-ROM | disk | FTP | other *** search
/ Trading on the Edge / Trading On The Edge - CD-ROM Toolkit (Wayzata Technology)(2031)(1994).bin / mac / Mac_Files / Vendor Demos / HiQ / HiQ•Help / HiQ•Help.rsrc / PICT_10404_Nonlinear Systems pg 4.png < prev    next >
Portable Network Graphic  |  1992-04-28  |  71KB  |  816x1056  |  8-bit (256 colors)
Labels: book | chat room | crt screen | monitor | poster | reckoner | sky | windowpane
OCR: NONLINEAR SYSTEM SOLVER SAMPLE SCRIPTS Example 2.Solve the system of equations: X1 X/10 iX XX4 +X X6X7 -4=0 3X4)2 cos(X7) + X3 X5 3X 6 =0 (X5 + X2+ sin[n sin(X 7]=0 tX)E X) 9 .8X 7 = The expected solution is: =(1, -1,2, -2,3, -3, 0). Typical Input: xTolerance fTolerance 10 initialVector -2,0.4 Problem Script: Newton exact {1; -1; 2; -2: 3 maxlterations 1000 xTolerance 1.0e-6; fTolerance 1.0e-6; initVector {2; -2; 2; -2; 2; -2; 0.4}: Function eqns(index, x) select (index) from case return x[1 ]-exp(0. 1*x[7]) (0); case return x[1]*x[3]+x[2]*x[4]+x[5]* *x[6]*x[7]-4 (0); case return x[1]-(x[3]*x[4]) ^2*cos(x[7]+x[3]*x[5]. ]-3*x[6] -(0): case return (x[l]+x[2]) ^4+(x[3]+x[4])^3+(x[5]+x[6])^2+ sin( <pi> *sin(x[7])- (0);: case return x[1]^2+x[7]-x[2]- -x[3] 0); case return [2 ]^3-x[3]+3*(x[4]- x ...